<template>
  <div class="mainContainer">
  </div>
</template>

<script>
import storage from 'good-storage'
export default {
  name: "user",
  created() {
    let userState = storage.session.get('login')
    if (userState === null || userState === false) {
      this.$router.push('/login')
    }
    console.log(storage.session.get('user'))
  }
}
</script>

<style src="../style/user.less" lang="less"></style>
